package org.fintan.make.entity;


import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
@ApiModel(value = "用户信息")
public class User {
	@ApiModelProperty(name = "id",value = "用户id")
    private Integer id;

    /*
     * 用户名称
     */
	@ApiModelProperty(name = "userName",value = "用户昵称" ,required = true)
    private String userName;

    private String user;
    /*
     * 年龄
     */
    @ApiModelProperty(name = "age",value = "年龄")
    private Integer age;
    /*
     * 性别
     */
    @ApiModelProperty(name = "sex",value = "性别")
    private String sex;
    /*
     * 电话
     */
    @ApiModelProperty(name = "phone",value = "电话")
    private String phone;
    /*
     * 密码
     */
    @ApiModelProperty(name = "password",value = "密码")
    private String password;
    /*
     * 邮箱
     */
    @ApiModelProperty(name = "email",value = "邮箱")
    private String email;
    /*
     * 唯一标识
     */
    private String salt;
    /*
     * 注册时间
     */
    private Date addDate;
    /*
     * 更改时间
     */
    private Date updateDate;
    /*
     * 头像
     */
    private String headPortrait;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

	public Date getAddDate() {
		return addDate;
	}

	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getHeadPortrait() {
		return headPortrait;
	}

	public void setHeadPortrait(String headPortrait) {
		this.headPortrait = headPortrait;
	}


   

}